import { createApp } from 'vue'
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import App from './App.vue'
import './index.css'
import { router } from './route'
import store from "./store";
import * as echarts from 'echarts'


import 'hover.css'
import 'animate.css/animate.min.css'
import 'font-awesome/css/font-awesome.min.css'

import { QuillEditor } from "@vueup/vue-quill";
import '@vueup/vue-quill/dist/vue-quill.snow.css';
import '@vueup/vue-quill/dist/vue-quill.bubble.css';

import moment from "moment";
import 'moment/dist/locale/zh-cn.js'
moment.locale('zh-cn')

const app = createApp(App)
app.config.globalProperties.$moment = moment
app.config.globalProperties.$echarts = echarts
app.component('QuillEditor', QuillEditor)

app.use(store)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
    // app.echarts = echarts

    // createApp(App).mount('#app')